<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS</title>
    <style type="text/css">
        .A {text-align: left;height: 20px;color: black;}
        B {color: blue;}
        </style>
</head>
<body>
    <p>a. <input type="text"  style="background: 100%;color: cadetblue"></p>

    <p>b. <input type="text" class="A"id="B"></p>

    <p>c. <input type="text" class="A"style="background: 10%;color: crimson"></p>

</body>
</html>